/*
 * 文件名：CustManagerService.java
 * 版权：Copyright by www.wootide.com
 * 描述：
 * 修改人：Administrator
 * 修改时间：2013-2-21
 * 跟踪单号：
 * 修改单号：
 * 修改内容：
 */
package com.wootide.cms.service.customer.custmanager.service;

import javax.servlet.http.HttpServletRequest;

import com.wootide.cms.common.Page;
import com.wootide.cms.common.QueryCondition;
import com.wootide.cms.common.Result;
import com.wootide.cms.service.customer.custmanager.pojo.ClientLevel;
import com.wootide.cms.service.customer.custmanager.pojo.Customer;

public interface CustManagerService
{
    /**
     * Description: 分页查询<br>
     * Implement: <br>
     * @param page
     * @param queryConditon
     * @return
     * @see
     * @return Result
     * @author Administrator
     */
    public Result queryForPages(Page page, QueryCondition queryConditon);
    
    public Result queryLevelForPages(Page page, QueryCondition queryConditon);
    
    /**
     * Description: 增加新客户<br>
     * Implement: <br>
     * @param customer
     * @param request
     * @return
     * @see
     * @return Result
     * @author Administrator
     */
    public Result addOneCustomer(Customer customer, HttpServletRequest request);
    
    Result viewOneCustomer(Integer innerIndex);
    
    public Result queryCustomerLevel(QueryCondition queryConditon);
    
    public Result addOneClientLevel(ClientLevel clientLevel, HttpServletRequest request);
    
    Result delCustomers(Integer[] innerIndexs, HttpServletRequest request);
    
    Result modOneCustomer(Customer customer,HttpServletRequest request);
    
    Result viewOneLevel(Integer innerIndex);
    
    Result modOneLevel(ClientLevel clientLevel,HttpServletRequest request);
    
    Result delClientLevels(Integer[] innerIndexs, HttpServletRequest request);
    
    Result lostOneCustomer(Customer customer,HttpServletRequest request);
}
